package com.nicy.dream.form;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
public class UserForm {
    @ApiModelProperty(notes = "用户姓名")
    private String name;
    @ApiModelProperty(notes = "用户年龄")
    private String age;
    @ApiModelProperty(notes = "用户性别")
    private String sex;
    @ApiModelProperty(notes = "用户手机")
    private String phone;
    //@ApiModelProperty(notes = "用户生日")
    //@DateTimeFormat(pattern="yyyy-MM-dd")
    //@JsonFormat(pattern ="yyyy-MM-dd",timezone="GMT+8")
    //private LocalDateTime birthday;
}
